//
//  HJSearchModel.m
//  Sneakers
//
//  Created by 胡光健 on 2017/11/30.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "HJSearchModel.h"

@implementation HJSearchModel
+(NSDictionary *)mj_objectClassInArray {
    return @{@"history":[history class],@"hot_words":[hot_words class]};
}
@end

@implementation history

-(void)setSearch_words:(NSString *)search_words {
    _search_words = search_words;
    self.cellW = [CommonTools sizeWithText:search_words font:15].width + 20;
}
@end


@implementation hot_words

-(void)setHot_words:(NSString *)hot_words {
    _hot_words = hot_words;
    self.cellW = [CommonTools sizeWithText:hot_words font:15].width + 20;
}
@end
